﻿/***********************************************************************************************
 * 
 * ProjectName: WMSSoft.Lib.WinKStart
 * 
 * Description: Class to read Usersettings from Disk
 * 
 * Created:     05.07.2014
 * 
 * Author:      matthias wagler - matthias@WMSSoft.de
 * 
 * Copyright:   Copyright 2014 by WMSSoft.net
 * 
 * License:     GPLv3
 * 
 * History:     05.07.2014 - matthias wagler matthias@WMSSoft.de   -   Created
 * 
 **********************************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WMSSoft.Lib.WinKStart.Abstract;

namespace WMSSoft.Lib.WinKStart.Model.UserSettings
{
    public class SearchSettings : CModelBase
    {
        private bool m_SearchRecent = true;
        private bool m_SearchWindowsSearch = false;
        private bool m_SearchNetwork = false;
        private bool m_SearchWeb = false;

        public SearchSettings()
        {

        }

        public SearchSettings(bool SearchRecent, bool SearchWindowsSearch, bool SearchNetwork, bool SearchWeb)
        {
            m_SearchRecent = SearchRecent;
            m_SearchWindowsSearch = SearchWindowsSearch;
            m_SearchNetwork = SearchNetwork;
            m_SearchWeb = SearchWeb;
        }

        public bool SearchRecent
        {
            get { return m_SearchRecent; }
            set
            { 
                m_SearchRecent = value;
                OnPropertyChanged();
            }
        }

        public bool SearchWindowsSearch
        {
            get { return m_SearchWindowsSearch; }
            set 
            { 
                m_SearchWindowsSearch = value;
                OnPropertyChanged();
            }
        }

        public bool SearchNetwork
        {
            get { return m_SearchNetwork; }
            set 
            { 
                m_SearchNetwork = value;
                OnPropertyChanged();
            }
        }

        public bool SearchWeb
        {
            get { return m_SearchWeb; }
            set 
            { 
                m_SearchWeb = value;
                OnPropertyChanged();
            }
        }
    }
}
